package org.edu.modules.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.edu.modules.oa.entity.VeOaMeetEntity;
import org.edu.modules.oa.vo.VeOaMyJoinMeetVo;

import java.util.List;

public interface IVeOaMyJoinMeetMapper extends BaseMapper<VeOaMeetEntity> {
    //查看我参加的会议
    List<VeOaMyJoinMeetVo> selectMeetById(
            @Param("current") Integer current, @Param("pageSize") Integer pageSize,
            @Param("title") String title, @Param("placeId") Integer placeId,
            @Param("id") String id
    );

    //统计我发起的会
    Integer countJoinMeet(
            @Param("title") String title, @Param("placeId") Integer placeId,
            @Param("id") String id
    );

    //查看我参加的会议
    List<VeOaMyJoinMeetVo> selectMeetByUserId(
            @Param("current") Integer current, @Param("pageSize") Integer pageSize,
            @Param("userId") String userId
    );

}
